<%--
    Document   : system.adminuser.manage.add
    Created on : 2012-2-5, 21:48:45
    Author     : cxc
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="/WEB-INF/tlds/spc" prefix="spc" %>
<spc:config rp="<%=response%>" rq="<%=request%>">
    <!DOCTYPE html>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>添加管理员</title>
            <%=spc_conf.sp.creplace(spc_conf.sp.itake("manage.head-inc", "tpl"))%>
            <!--本模块内的样式-->
            <link rel="stylesheet" type="text/css" href="<%=spc_conf.getActualRoute(spc_conf.getNGenre() + "/" + spc_conf.imagesRoute)%>/css/icon.css" />
            <link rel="stylesheet" type="text/css" href="<%=spc_conf.getActualRoute(spc_conf.getNGenre() + "/" + spc_conf.imagesRoute)%>/css/manage.css" />
            <!--本模块内的脚本-->
            <script type="text/javascript" src="<%=spc_conf.getActualRoute(spc_conf.getNGenre() + "/" + spc_conf.imagesRoute)%>/js/manage.js"></script>
            <script type="text/javascript" src="<%=spc_conf.getActualRoute(spc_conf.getNGenre() + "/" + spc_conf.imagesRoute)%>/js/m.add.js"></script>   
        </head>
        <body> 
            <div id="index_div_pageLoading" class="pageloadingdiv">
                <span class="pageloadingspan">页面加载中，请稍候......</span>
            </div>

            <div id="cnt" class="easyui-panel" fit="true" title="添加管理员" border="false">
                <div style="padding:5px;background:#fafafa;">
                    <a href="#" class="easyui-linkbutton"  iconCls="icon-forward">返回</a>
                </div>
                <form class="formPanel">
                    <div class="tr">
                        <label class="colum"><span class="txt_red middleAlign">*&nbsp;</span>用户名称：</label>
                        <input class="easyui-validatebox txt" name="username" required="true" validType="safestr" />
                    </div>
                    <div class="tr">
                        <label class="colum"><span class="txt_red middleAlign">*&nbsp;</span>账号：</label>
                        <input class="easyui-validatebox txt" name="account" required="true" validType="username" />
                        <span class="txt_gray">&nbsp;帐号由字母、数字组成，不能以数字开头，点(.)减号(-)下划线(_)不能放在开头或结尾。</span>
                    </div>
                    <div class="tr">
                        <label class="colum"><span class="txt_red middleAlign">*&nbsp;</span>密码：</label>
                        <input class="easyui-validatebox txt" type="password" name="userpwd" required="true" validType="password['input[name=username]']" />
                        <span class="txt_gray">&nbsp;密码由6-32个字符组成，且不能和帐号相同</span>
                    </div>
                    <div class="tr">
                        <label class="colum"><span class="txt_red middleAlign">*&nbsp;</span>确认密码：</label>
                        <input class="easyui-validatebox txt"  type="password"  required="true" validType="sameto['input[name=userpwd]']" />
                    </div>
                    <div class="tr">
                        <label class="colum">&nbsp;</label>
                        <input id="iscpwdlogin" type="checkbox" checked="" value="1" name="cpwdlogin" >
                        <label for="iscpwdlogin">首次登录修改初始密码</label>
                    </div>
                    <div class="tr">
                        <label class="colum"><span class="txt_red middleAlign">*&nbsp;</span>用户组：</label>
                        <input class="easyui-validatebox txt" name="usergroup" required="true" />
                    </div>
                    <div class="tr">
                        <label class="colum">手机号码：</label>
                        <input class="easyui-validatebox txt" name="mobile" validType="mobile" />
                    </div>
                    <div class="tr">
                        <label class="colum">邮箱：</label>
                        <input class="easyui-validatebox txt" name="email"  validType="email" />
                    </div>
                </form>
                <div style="padding:5px;background:#fafafa;">
                    <a href="#" class="easyui-linkbutton" iconCls="icon-save">保存</a>
                    <a href="#" class="easyui-linkbutton"  plain="true" iconCls="icon-reset">取消</a>
                </div> 
            </div>

        </body>
    </html>
</spc:config>
